using System;
using System.Web.UI;

using BlogEngine.Core;
using BlogEngine.Core.Web.Controls;

public partial class _default : BlogEngine.Core.Web.Controls.BlogBasePage
{
	protected void Page_Init(object sender, EventArgs e)
	{
		string theme = BlogSettings.Instance.Theme;
		string path = Utils.RelativeWebRoot + "themes/" + theme + "/PostList.ascx";
		PostListBase themedPostView = (PostListBase)LoadControl(path);
		postView.Controls.Add(themedPostView);
	}
}
